package com.currency.mall.entity;

import com.mifengs.commonbusines.entity.ResponseBean;

/**
 * Created by Administrator on 2018/12/11.
 */

public class LoginBean {
    private String msg;//":"成功",
    private String code;//":"0000",
    private UserInfo user;
    private String token;

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public UserInfo getUser() {
        return user;
    }

    public void setUser(UserInfo user) {
        this.user = user;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public class UserInfo{
        private String id;//":20,
        private String status;//":"00",
        private String userType;//":"00",
        private String headImg;//":"picture",  #用户头像
        private String name;//":"pp_13923474761", #用户zhan账号
        private String email;//":null,   #用户邮箱
        private String phone;//":"13923474761", #用户手机号
        private String passwd;//":"e10adc3949ba59abbe56e057f20f883e", #用户密码（已加密）
        private String lastLoginTime;//":"2018-12-22T08:05:09.000+0000",  #用户上次登录时间
        private String lastLoginIp;//":null,  #用户上次登录IP
        private String regTime;//":"2018-12-22T08:05:10.000+0000", #用户注册时间
        private String regIp;//":"0:0:0:0:0:0:0:1",  #用户注册测册IP
        private String invitUserId;//":null,
        private String isDel;//":"00"

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getStatus() {
            return status;
        }

        public void setStatus(String status) {
            this.status = status;
        }

        public String getUserType() {
            return userType;
        }

        public void setUserType(String userType) {
            this.userType = userType;
        }

        public String getHeadImg() {
            return headImg;
        }

        public void setHeadImg(String headImg) {
            this.headImg = headImg;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getEmail() {
            return email;
        }

        public void setEmail(String email) {
            this.email = email;
        }

        public String getPhone() {
            return phone;
        }

        public void setPhone(String phone) {
            this.phone = phone;
        }

        public String getPasswd() {
            return passwd;
        }

        public void setPasswd(String passwd) {
            this.passwd = passwd;
        }

        public String getLastLoginTime() {
            return lastLoginTime;
        }

        public void setLastLoginTime(String lastLoginTime) {
            this.lastLoginTime = lastLoginTime;
        }

        public String getLastLoginIp() {
            return lastLoginIp;
        }

        public void setLastLoginIp(String lastLoginIp) {
            this.lastLoginIp = lastLoginIp;
        }

        public String getRegTime() {
            return regTime;
        }

        public void setRegTime(String regTime) {
            this.regTime = regTime;
        }

        public String getRegIp() {
            return regIp;
        }

        public void setRegIp(String regIp) {
            this.regIp = regIp;
        }

        public String getInvitUserId() {
            return invitUserId;
        }

        public void setInvitUserId(String invitUserId) {
            this.invitUserId = invitUserId;
        }

        public String getIsDel() {
            return isDel;
        }

        public void setIsDel(String isDel) {
            this.isDel = isDel;
        }
    }
}
